package com.tjut.oop.hol6;

public class School {
	// 创建一个学生数组
	private Student[] student;

	/**
	 * 循环打印学生信息
	 */
	public void show() {
		for (int i = 0; i < student.length; i++) {
			student[i].showAll();
		}
	}

	public School(Student[] student) {
		super();
		this.student = student;
	}
}
